// This file is best viewed in Geneva 9 on a 17" screen.
// It documents the custom Apple events supported by Big Brother. It is to be used by programmers who want to make use of Big Brother's capabilities to enhance their applications.
// If you are a programmer and if you need help implementing support for Big Brother, feel free to contact me at <pottier@kagi.com>.
// You might want to adjust Big Brother's settings (via Get Data and Set Data events) prior to sending this event. The Proxy and Link Check Options settings are relevant.
// Be sure to restore settings immediately after sending the event, to avoid confusing the user.
#define kAECheckLinks 'Chck'
// Its direct parameter is a list of Apple event records. Each record must contain the following components:
#define keyAbsoluteURL 'Url ' // typeChar // Absolute address to be checked
#define keyRefCon 'Id# ' // <any type t> // Private data which will be returned to the caller in the reply events
// You can supply your process serial number explicitly, if you are running on the same machine as Big Brother. This helps Big Brother determine to whom the replies should be sent.
// With Big Brother 1.1, this parameter must be supplied. With Big Brother 1.2 or later, it is optional: if it is missing, Big Brother will try to figure out which process sent the event and will reply
// to it. Supplying it allows you to have fine control over who the replies are sent to; on the other hand, omitting it allows you to use the Check Links event even if you are not running on the same
// machine as Big Brother.
#define keyCallerPSN 'cPSN' // typeProcessSerialNumber // Identifies the process to which the reply events should be sent
// The caller can request that only unsuccessful checks be reported:
#define keyUnsuccessfulOnly '!Oly' // typeBoolean // True if unsuccessful checks only should be reported, false otherwise